'use strict';

module.exports = app => {
    const {
        STRING,
        INTEGER
    } = app.Sequelize;
    const score_inquiry = app.model.define('score_inquiry',{
        id:{
            type:INTEGER,
            primaryKey:true,
            autoIncrement:true,
            allowNull:false,
            comment:"成绩查询ID"
        },
        class_name:{
            type:STRING,
            defaultValue:null,
            comment:"班级名字"
        },
        semester:{
            type:STRING,
            defaultValue:null,
            comment:"学期"
        },
        project:{
            type:STRING,
            defaultValue:null,
            comment:"项目"
        },
        name:{
            type:STRING,
            defaultValue:null,
            comment:"名字"
        }
    })
    score_inquiry.associate = function () {
        
    }
}